filesystemmodel: Don't use G_TYPE_POINTER
authorBenjamin Otte <otte@redhat.com>
Sun, 29 Aug 2021 03:56:31 +0000 (05:56 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 29 Aug 2021 04:52:28 +0000 (06:52 +0200)
It's a GError, use G_TYPE_ERROR.

gtk/gtkfilesystemmodel.c

index d27cd6c8f5cf49ad319a09568ea2857b5ca1a421..9269f885419b6e55dc5ecd6e8f17d6c64dc040f6 100644 (file)
@@ -1041,7 +1041,7 @@ _gtk_file_system_model_class_init (GtkFileSystemModelClass *class)
                  G_STRUCT_OFFSET (GtkFileSystemModelClass, finished_loading),
                  NULL, NULL,
                  NULL,
-                 G_TYPE_NONE, 1, G_TYPE_POINTER);
+                 G_TYPE_NONE, 1, G_TYPE_ERROR);
 }
 
 static void